Mollie\WooCommerce\Payment\MollieOrderService B

Total Complexity 86
Dependencies 8
Dependents 4
Total lines 558
Lines of code 352
Logical lines of code 231
Comment lines 173
Methods 24
Properties 6

Methods 24

Method Rating Maintainability Complexity Lines of code
onWebhookAction()
B
34 21 84
processChargebacks()
B
36 17 77
updateOrderStatus()
A
54 8 21
orderNeedsPayment()
S
54 6 20
processRefunds()
S
50 4 27
findRefundIdsByLinks()
S
60 3 12
getPaymentMethodTitle()
S
64 3 10
notifyProcessedRefunds()
S
60 2 13
processUpdateStateRefund()
S
72 2 5
getProcessedRefundIds()
S
64 2 9
findRefundIds()
S
71 2 6
calculateRefundByLine()
S
67 2 8
paymentTestModeNote()
S
71 2 5
isPartialRefund()
S
69 2 6
renderNote()
S
63 1 11
__construct()
S
69 1 7
updateStateRefund()
S
69 1 6
setBillingAddressAfterPayment()
S
69 1 5
setGateway()
S
81 1 3
findRefundIdsByLine()
S
74 1 5
hasLineRefund()
S
80 1 3
isOrderPaidByOtherGateway()
S
79 1 3
isOrderPaidAndProcessed()
S
79 1 3
isOrderButtonPayment()
S
79 1 3